﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QuanLyThuVien;
using QuanLyThuVien.BUS;
using QuanLyThuVien.VO;

namespace QuanLyThuVien
{
    public partial class frmTimKiemDocGia : Form
    {

        public frmTimKiemDocGia()
        {
            InitializeComponent();
        }

        private void btnTimKiem_Click(object sender, EventArgs e)
        {
            frmTimKiemDocGia_Load(sender, e);
        }

        private void frmTimKiemDocGia_Load(object sender, EventArgs e)
        {
            busDocGia busDocGia = new busDocGia();
            DocGia DocGia = new DocGia(txtMaDocGia.Text, txtTenDocGia.Text);
            dtgvThongTinDocGia.DataSource = busDocGia.TimDocGia(DocGia);
        }
    }
}
